package com.alex.statistics.pojo.request.timeSeriesAnalysis;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "一元回归请求参数")
public class LinearRegressionRequest {

    @Schema(description = "待分析的 x 数据集合", required = true, example = "[1.0, 2.0, 3.0]")
    private List<Double> x;  // x 数据集合

    @Schema(description = "待分析的 y 数据集合", required = true, example = "[2.0, 3.0, 5.0]")
    private List<Double> y;  // y 数据集合
}
